<?php
namespace lib;

use PhpAmqpLib\Message\AMQPMessage;
use rabbit\Consumer;

class DemoConsumer implements Consumer
{

    public function messageHandler(AMQPMessage $message)
    {
        // TODO: Implement messageHandler() method.
        $message->ack();
    }
}